package com.diy.sigmund.diyuser.service;

import com.diy.sigmund.diycommon.entity.ResultMsg;
import java.math.BigDecimal;

/**
 * @author ylm-sigmund
 * @since 2022/11/12 16:59
 */
public interface SeataUserService {

    ResultMsg decreaseInventory(String commodityId, Integer transactionQuantity);

    ResultMsg decreaseAccount(String orderId, BigDecimal transactionAmount);
}
